export const columns: BasicGridColumnProps[] = [
  {
    title: '班次',
    field: 'tsid',
    minWidth: 110
  },
  {
    title: '品种',
    field: 'materialName',
    width: 200
  },
  {
    title: '支数',
    field: 'yarnCount',
    minWidth: 110,
    formatter: ({ cellValue }) => {
      return Math.floor(cellValue)
    }
  },
  {
    title: '平均车速(r/min)',
    field: 'speedAvg1',
    minWidth: 130,
    formatter: ({ cellValue }) => {
      return Math.floor(cellValue)
    }
  },
  {
    title: '开台数',
    field: 'machineCnt',
    minWidth: 110
  },
  {
    title: '落纱次数',
    field: 'dofferCnt',
    minWidth: 110
  },
  {
    title: '落纱停台时间(分钟)',
    field: 'dofferTimeAvg',
    minWidth: 150,
    formatter: ({ cellValue }) => {
      return Math.round((cellValue / 60) * 100) / 100
    }
  },
  {
    title: '生产效率(%)',
    field: 'efcRun',
    minWidth: 120,
    formatter: 'formatFixedNumber'
  },
  {
    title: '理论产量(kg)',
    field: 'theoreticalYarnWeight',
    minWidth: 130,
    formatter: 'formatFixedNumber'
  }
]
